<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>老师开课</title>
    <!--        <link rel="stylesheet" type="text/css" href="../static/css/bootstrap.min.css">-->
    <link rel="stylesheet" type="text/css" href="../static/css/all.css">

</head>
<body>
<!--{{teacher_id}}-->

<div>
    <table border="0" align="center">
        <tr>
            <th>
            <span>
                课程名
            </span>

            </th>
            <th>
            <span>
                开课学期
            </span>

            </th>

            <th>
            <span>
                最大人数
            </span>

            </th>
            <th>
            <span>
                已选人数
            </span>
            </th>

            <th>
            <span>
                学时
            </span>
            </th>

            <th>
                <span>学分</span>
            </th>
            <th>
                <span>详情</span>
            </th>
        </tr>
        {%for result in result_list%}
        <tr>
            <td>
            <span>
                {{result[2]}}
            </span>
            </td>
            <td>
            <span>
                {{result[1]}}
            </span>
            </td>
            <td>
            <span>
                {{result[0]}}
            </span>
            </td>
            <td>
            <span>
                {{result[5]}}
            </span>
            </td>
            <td>
            <span>
                {{result[3]}}
            </span>
            </td>
            <td>
            <span>
                {{result[4]}}
            </span>
            </td>
            <td>
                <a href="/grhcourse/grhdetails?course_id={{result[6]}}&course_num={{result[7]}}">详情点击</a>
            </td>
        </tr>
        {% endfor%}
    </table>
</div>

</body>
</html>